from PyQt5.QtWidgets import QWidget,QPushButton,QApplication,QGridLayout,QLabel
from PyQt5.QtCore import QTimer, QDateTime,Qt
import sys




if __name__ == '__main__':
    app=QApplication(sys.argv)
    label=QLabel('<font color=red size=140> <b>Hello Word,  窗口在5秒后自动关闭! </b></font>')

    label.setWindowFlags(Qt.SplashScreen | Qt.FramelessWindowHint )
    label.show()
    QTimer.singleShot(5000,app.quit)
    sys.exit(app.exec())